#pragma once 
#include<iostream>
#include"protocol.hpp" 

class CallBack;
class Task
{
  private:
    int sock;
    CallBack hander;
  public:
    Task(int _sock):sock(_sock)
    {} 
    Task(){}

    void Hander(){
      hander(sock);
    }
    ~Task(){}
};
